package com.pzhu.controller;

import com.pzhu.pojo.User;

import java.util.List;

public interface UserController {
    public boolean checkUser(long account,String password);

    public boolean addUser(User user);

    public boolean deleteUser(long id);

    public User selectUser(long id);

    public boolean updateUser(User user);

    public List<User> selectAllUser(User user);

    public long selectLoginCount();
    public Long selectLastUserId();

    public long setLoginCount(long loginCount);
}
